package com.sumainfor.wx.tenant.controller.housekeeper;

import com.qiniu.util.Json;
import com.sumainfor.common.util.JsonResult;
import com.sumainfor.wx.tenant.service.HoTenantBankService;
import com.sumainfor.wx.tenant.service.HoTenantIdentitService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.io.Serializable;
import java.util.Map;

/**
 *租客的实名认证信息
 */
@RestController
@RequestMapping("/housekeeper/HoTenantBank")
public class HoTenantBankController implements Serializable {
    @Autowired
    private HoTenantBankService hoTenantBankService;

    /**
     *根据租客的编号查询租客的实名认证信息
     */
    @GetMapping("/getHoTenantBank")
    public JsonResult getHoTenantBank(@RequestParam Map<String,Object> params){
        return hoTenantBankService.getHoTenantBank(params);
    }

}
